home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2115 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: grafix.xs4all.nl!john.hendrikx
  2. Date: Wed, 24 Jan 96 20:52:08 GMT+1
  3. Newsgroups: comp.sys.amiga.programmer
  4. Distribution: world
  5. Subject: Re: playing 14 bit samples. how?
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=iso-8859-1
  8. Content-Transfer-Encoding: 8bit
  9. From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
  10. Message-ID: <john.hendrikx.48xx@grafix.xs4all.nl>
  11. Organization: Grafix Attack BBS Holland
  12.  
  13. In a message of 24 Jan 96 Mathew Hendry wrote to All:
  14.  
  15.  >> The Amiga has 8 bit sound by standard. But it also has 6 bit volume
  16.  >> registers for each sound channel which can be adjusted independently from
  17.  >> the main sound. And 6+8 bit is 14 bit as far as I know.
  18.  
  19.  MH> If playing back 16 bit samples it's done like this:
  20.  
  21.  MH> Representing each bit of the sample as 0123456789ABCDEF, in descending
  22.  MH> order of significance.
  23.  
  24.  MH> Channel 1, volume 63, play bits 01234567
  25.  MH> Channel 2, volume  1, play bits __89ABCD
  26.  
  27.  MH> with bits E and F (the least significant) discarded. The bits marked as
  28.  MH> "_" are permanently set to 0. If only the volume was specified as 8 bits
  29.  MH> - we'd be able to reproduce 16 bit samples fully :)
  30.  
  31.  MH> (note that channel 1 only plays at 63x the volume of channel 2, not
  32.  MH> 64x. This is one of the reasons for requiring calibration, as described
  33.  MH> below).
  34.  
  35. Then why don't you set the volume to 64?  The volume-hardware seems to regard
  36. bit 6 as an indicator to play at maximum volume, independant of the bits 0-5.
  37. By setting the volume at 63 you are not playing at maximum volume yet.
  38.  
  39. Grtz John
  40.  
  41. -----------------------------------------------------------------------
  42.  John.Hendrikx@grafix.xs4all.nl   TextDemo/FastView/Etc... development
  43. -----------------------------------------------------------------------
  44. -- Via Xenolink 1.985B3, XenolinkUUCP 1.1
  45.